package com.zhumo.sz.entity.bus;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.poi.ss.formula.functions.T;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * id INT 自增主键 PRIMARY  KEY
 * sch_id BIGINT 班次id PRIMARY KEY （标识线路)
 * station_code VARCHAR 客运站id FOREIGH KEY
 * bus_id BIGINT 长途客车编码 FOREIGH KEY
 * driver_id BIGINT 司机id  FOREIGH KEY
 * on_board_ticket_seller_id BIGINT 车上售票员id FOREIGH KEY
 * start_point VARCHAR 起点名称
 * end_point VARCHAR 终点名称
 * departure_time TIMESTAMP 发车时间
 * arrive_pri_time TIMESTAMP 理论到达时间
 * is_cityed TINYINT 是否市内客运
 * is_enabled TINYINT 是否生效
 * is_deleted TINTINT 是否删除
 * version VARCHAR 版本
 * create_time TIMESTAMP 创建时间
 * update_tume TIMESTAMP 更新时间
 * 长途大巴 发运班次
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "长途客运发运班次实体",description = "长途客运发运班次表")
public class LengthBusDepartureScheduleInfo {

    private Integer id;
    private String schId;
    private String stationCode;
    private Long busId;
    private String driverId;
    private String onBoardTicketSellerId;
    private String startPoint;
    private String endPoint;
    private Integer departureTime;
    private Integer arrivePriTime;
    @ApiModelProperty("票价")
    private BigDecimal amount;
    private Boolean isCity;
    private Boolean isEnabled;
    private Boolean isDeleted;
    private String version;
    private Timestamp createTime;
    private Timestamp updateTime;




}
